Version

SwapCollection<T> Class Members

The following tables list the members exposed by SwapCollection<T>.

Public Constructors
 NameDescription
Public ConstructorSwapCollection<T> ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyCancelCollectionChangingGets or sets a value indicating whether change action is canceled by the end user.  
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public PropertyItemGets or sets the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<T>)
Protected Properties
 NameDescription
Protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Protected PropertySuppressMessagesGets a value indicating whether System.ComponentModel.INotifyPropertyChanged notifications will be suppresed.  
Public Methods
 NameDescription
Public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodAddRangeAdds the elements of the specified collection to the end of the SwapCollection<T>.  
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodContainsDetermines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodInsertRangeInserts the elements of a collection into the SwapCollection<T> at the specified index.  
Public MethodRemoveRemoves the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>)
Public MethodRemoveRangeRemoves the spcified items from SwapCollection<T>.  
Public MethodSwapItemsOverloaded. Swaps the positions of two items from the SwapCollection<T>.  
Protected Methods
 NameDescription
Protected Internal MethodAddRangeInternalAdds an range of items to a SwapCollection<T> object.  
Protected MethodClearItemsOverridden. Removes all elements from the SwapCollection<T>.  
Protected Internal MethodClearItemsInternalRemoves all elements from the SwapCollection<T>.  
Protected MethodInsertItemOverridden. Inserts an element into the SwapCollection<T> at the specified index.  
Protected Internal MethodInsertItemInternalInserts an element into the SwapCollection<T> at the specified index.  
Protected Internal MethodInsertRangeInternalInserts an range of elements into the SwapCollection<T> at the specified index.  
Protected MethodOnCollectionChangedRaises the CollectionChanged event.  
Protected MethodOnCollectionChangingRaises the CollectionChanging event.  
Protected MethodOnPropertyChangedRaises PropertyChanged event. Called when one or more of the properties that exist on the element have had their effective values changed.  
Protected Internal MethodRemoveInternalRemoves the specified item from the collection.  
Protected MethodRemoveItemOverridden. Removes the element at the specified index of the SwapCollection<T>.  
Protected Internal MethodRemoveRangeInternalRemoves the range of specified items as notification messages are suppressed.  
Protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<T>)
Protected Internal MethodSwapItemsInternalOverloaded. Swaps the items of items as push them on the spefied index.  
Public Events
 NameDescription
Public EventCollectionChangedOccurs when an item in the collection changes, or the entire collection changes.  
Public EventCollectionChangingOccurs when an item in the collection is going to change, or the entire collection is going to change.  
Public EventPropertyChangedOccurs when a property value changes.  
See Also